<!DOCTYPE html>
<html ng-app="myApp">
<head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script src="js/jquery-2.1.3.js" type="text/javascript"></script>
    <script src="js/angular-1.2.13.js" type="text/javascript"></script>
    <script src="js/angular-route-1.2.13.js"></script>
    <script src="js/common.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="css/foundation.css">

    <base href="/phpwechat/"></base>
</head>
<body>
    <style type="text/css">
    div.navbar{
        float: left;
        /*margin-top: 30px;*/
    }   

    div.userinfo{
        float: right;
        /*margin-left: */
    }

    </style>
    <div class="navbar">
        <div class="navbar-header">
            <a href="#/">首页</a> ｜ 
            <a href="#/accountmgr">好友管理</a> ｜ 
            <a href="#/notExisting">测试无效页</a>
        </div>
    </div>
    <div class="userinfo" ng-controller='logController' ng-show='currentUser.islogin'>
        <span>Login as:  <a href="#/accountmgr" title="管理帐号及好友">{{currentUser.info.nickname}} ({{currentUser.info.id}}) </a> | <a ng-click='logout()'>Logout</a></span>
    </div>
    <br/>
    <div class="content" >
        <div ng-view></div>
    </div>
</body>
</html>